package com.jsbs.iam.ident.feign;

import com.jsbs.iam.common.core.dto.Result;
import com.jsbs.iam.ident.param.IamApplyDetaislParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @ClassName: IamIdentAuthFeignInter
 * @Author: tenghuawei
 * @Date: 2023/1/31 14:31
 * @Description: 调用auth权限模块
 */

@FeignClient(value = "iam-auth",url = "${iam.auth.domain:127.0.0.1:83}")
public interface IamIdentAuthFeignInter {

    /**
     * 功能描述：查看账户的应用详情
     * @param iamApplyDetaislParam
     * @return Result
     */
    @PostMapping(value = "/iam/auth/roleManager/getApplicationDetails", consumes = "application/json")
    Result getApplicationDetails(IamApplyDetaislParam iamApplyDetaislParam);


}
